package com.koron.ticket.feign.bean;

import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 抽查优先权配置
 */
@Data
public class PriorQuery extends PageQuery implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    private String account;

    /**
     * 所属组织id
     */
    @ApiModelProperty(value = "所属组织id")
    private String deptId;

    /**
     * 所属组织名称
     */
    @ApiModelProperty(value = "所属组织名称")
    private String deptName;

    /**
     * 工单抽查优先权
     */
    @ApiModelProperty(value = "工单抽查优先权")
    private Integer workPrior;

    /**
     * 两票抽查优先权
     */
    @ApiModelProperty(value = "两票抽查优先权")
    private Integer ticketPrior;

    private static final long serialVersionUID = 1L;


    public PriorQuery(){

    }

    public PriorQuery(String account) {
        this.account = account;

    }
}